EventPatternSourceBase class¶
Defined in
Namespace: System.Reactive
Assembly: System.Reactive.dll
Full name: System.Reactive.EventPatternSourceBase<T1, T2>
Modifiers: public abstract
Summary¶
Base class for classes that expose an observable sequence as a well-known event pattern (sender, event arguments).
Contains functionality to maintain a map of event handler delegates to observable sequence subscriptions. Subclasses
should only add an event with custom add and remove methods calling into the base class's operations.
Applies to
netstandard2.0
Constructors¶
| Name | Summary |
|---|---|
| .ctor | Creates a new event pattern source. |
Methods¶
| Name | Summary |
|---|---|
| Add | Adds the specified event handler, causing a subscription to the underlying source. |
| Remove | Removes the specified event handler, causing a disposal of the corresponding subscription to the underlying source that was created during the... |